Replace default sign out flow with conditional confirmation - #4628
Conversation
📝 WalkthroughWalkthroughThe default sign-out flow now supports optional confirmation. Incomplete sign-out execution opens a confirmation prompt, and confirmation returns to sign-out. Node dimensions and positions were updated. ChangesSign-out confirmation
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@backend/cmd/server/bootstrap/01-default-resources.yaml`:
- Around line 593-597: Update the SessionSignOutExecutor configuration by
setting promptOnSignOut to true so onIncomplete: prompt_confirm can handle
required logout confirmation, while retaining conditional no-prompt behavior
when RuntimeKeyLogoutPromptRequired is false.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: f46600d0-58ff-4764-bc03-26ddb121a251
📒 Files selected for processing (1)
backend/cmd/server/bootstrap/01-default-resources.yaml
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Purpose
Fixes #4622
This PR introduces the conditional confirmation included sign out flow as the default sign out flow in the default resources file which is used to create default resources during setup.
Approach
Related Issues
Related PRs
Checklist
breaking changelabel added.Security checks
Summary by CodeRabbit